/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.Container;
import java.awt.Event;

/**
 *
 * @author LMoraes
 */
public class tlRealizaPedido extends JFrame  implements ActionListener
{
    private JButton btns[] ;
    private GridLayout layout;
    private JTable tbSabor;
    private Container container;
    private final String sabores[] = { "Sabor 1", "Sabor 2", "Sabor 3", "Sabor 4"};
    private Image imgs[] = {};
    public tlRealizaPedido()
    {
        super("Realizar de pedidos");
        layout = new GridLayout(2,2);
        //container.getContentPane();
         setLayout( layout ); 
         btns = new JButton[ sabores.length ]; 
         for ( int i = 0; i < sabores.length; i++ ) 
         { 
            btns[ i ] = new JButton( sabores[ i ] ); 
            //btns[i].setIcon(new ImageIcon(imgs[i]));  
            btns[ i ].addActionListener( this );
            add( btns[ i ] ); 
         } 
        
    }
    
    
     
    public void actionPerformed( ActionEvent event ) 
    { 
    
    }  
       
    
    
}
